package com.xidian.zhiancloud.dao.syset;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.syset.CoorDinateDetailList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CoorDinateDetailMapper extends BaseMapper<CoorDinateDetailList> {


    List<CoorDinateDetailList> getCoorDinateDetailList(@Param("positionid") Integer positionid);

    CoorDinateDetailList selectByPositionidAndName(
            @Param("positionid") Integer positionid,
            @Param("name") String name);

    int addCoorDinateDetail(@Param("positionid") Integer positionid,
                            @Param("name") String name,
                            @Param("coordinatemsg") String coordinatemsg,
                            @Param("uploadpath") String uploadpath,
                            @Param("status") Integer status);

    int detelCoorDinateDetail(@Param("positionid") Integer positionid,
                              @Param("name") String name);

}
